home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gttutors.zip / GTTUTOR6.TXT < prev   
Text File  |  1987-11-09  |  19KB  |  330 lines

  1. This tutorial is about the newest feature of GT Power, EchoMail.  It is 
  2. not intended to be considered an exhaustive study of the subject, but it 
  3. should be sufficiently detailed to help the vast majority of readers to 
  4. understand what it is, how it works, and how to set it up.
  5.  
  6. First, as usual, some definitions.
  7.  
  8. Netmail:  Whenever used in this tutorial, Netmail refers to the function 
  9. available to registered GT Power users.  It is not meant to include any 
  10. other form of electronic message switching or E-Mail services, and it 
  11. certainly does not mean to suggest that the programs associated with GT 
  12. Power that perform these functions are in any way compatable with any 
  13. other such service.  As of this writing, 11/08/87, there is no such 
  14. compatability.  (See GTTUTOR5.TXT for a fairly complete discussion of 
  15. Netmail).
  16.  
  17. Echomail:  An extension of Netmail that allows message files to be 
  18. replicated on other systems.  That is, a particular message base, known 
  19. as the Hub or Sponsoring base, is the end of a set of chains (Net/Nodes) 
  20. and any messages placed into that message base will be copied (via 
  21. Netmail) to similar message bases on all 'Subscribing' systems.  
  22. Further, that same message base may have messages added to it by any of 
  23. those Subscribing systems and these messages will also ultimately be 
  24. strewn throughout the set of subscriber systems after they have found 
  25. there way to the Sponsoring message base.  These ideas will be far 
  26. better explained as you read on.
  27.  
  28. Sponsoring message base:  This is the set of messages which reside on
  29. the system that creates the conference.  For example, the National
  30. Echomail Conference that deals with Financial issues is located on the 
  31. system located at Net/Node 001/000.  The Sysop of that system, myself, 
  32. has agreed to 'Sponsor' this conference and, thus, created the message 
  33. base and let its existence be known throughout the Network.  In order to 
  34. become a Sponsor you must establish a unique Net/Node address that 
  35. represents your conference, and publish that address so that others may 
  36. know about it.  In the case of the National Echomail conferences,
  37. you must have this Net/Node address assigned to you by the National 
  38. Echomail coordinator.  Local Echomail conferences, (those available to 
  39. only your Net, for example), are assigned identifiers by the local 
  40. Echomail coordinator.  These Echomail Net/Node numbers are in addition 
  41. to the normal Netmail Net/Node address that is assigned to your system 
  42. and they always begin with the letter 'E'.
  43.  
  44. Subscriber message base:  Any node on the Network may become a 
  45. 'Subscriber' to any and all conferences which they are made aware of.  A 
  46. subscribing message base is a copy of the Sponsoring message base in 
  47. that it is created for that purpose and its contents come from Netmail 
  48. contact with another system that is either a subscriber or sponsor of 
  49. the conference.  In order to become a subscriber, you need only 
  50. establish entries in your ROUTING.BBS file that properly identifies the 
  51. conference and which point to a source Net/Node from which to get that 
  52. conference updated via Netmail.  Each Echomail conference has a unique 
  53. identifier as described above.  For example, the National Finance 
  54. conference is identified as conference E00/003.
  55.  
  56. Public access:  Netmail, and of course, by extension, Echomail, is NOT a 
  57. public service.  It is a function of GT Power that is available to 
  58. registered users and their authorized guest users.  Further, just 
  59. because you have access to the Netmail/Echomail code does not mean that 
  60. you automatically have access to the International Netmail Network, or 
  61. to any Echomail conferences that are on that Network.  Instead, access 
  62. to a Network (National, Local, or private) requires that you have been 
  63. issued an enabling CRC and a unique Net/Node address that identifies 
  64. your system to all others that are on the Network in question.  The 
  65. assignment of a Net/Node and a CRC is not automatic, nor is it a 'right' 
  66. belonging to all registered users of GT Power.  It is the right of the 
  67. Network coordinators to exclude or authorize whomever they wish to these 
  68. services.  While access is generally not denied to anyone that applies, 
  69. such denial is possible.  Similarly, access to a particular Echomail 
  70. conference is neither automatic nor is it a 'right'.  In the case of 
  71. National Echomail conferences, access is accomplished rather easily and 
  72. without prior authorization.  The nature of the National conferences is 
  73. such that they may be accessed by any existing Netmail Net/Node that has 
  74. not been specifically excluded by the sysop of a system that the 
  75. 'subscriber' wishes to obtain access to the conference from.  Since 
  76. there are many alternatives to choose from, each providing access to the 
  77. same message base, this is effectively the same as saying that anyone 
  78. that is authorized to use the National Network may access any National 
  79. conference.
  80.  
  81. All of which is to say that these conferences are easily joined, but 
  82. they are NOT PUBLIC SERVICES.  However, as it would make no sense, 
  83. whatever, for private messages to be distributed across the systems of
  84. all subscribers to these conferences, YOU MAY NOT HAVE ANY PRIVATE 
  85. MESSAGES IN AN ECHOMAIL CONFERENCE.  Indeed, Netmail/Echomail prevents 
  86. you from doing so.
  87.  
  88. Chains of Subscribers:  While there may be only one Sponsoring message 
  89. base, there may be any number of Subscribers and, thus, any number of 
  90. copies of that message base.  Since Subscribers may obtain access to the 
  91. conference by connecting either with the Sponsoring system or that of 
  92. any other subscriber, you can see that an Echomail conference will 
  93. consist of some number of chains of subscribers.  Whenever messages are 
  94. added to the Sponsoring message base they will be made available to any 
  95. subscriber that should call the sponsoring system as of the next Netmail 
  96. session hosted by that Sponsor.  Once these messages are received into 
  97. the subscriber's conference message base they may be obtained by any 
  98. other subscriber that calls that system, but usually there will be a one 
  99. day delay in such availability.  Thus, the farther down a particular 
  100. chain you are, the less current will be your conference, but they will 
  101. always be complete up to the last update they receive.  Delays of a day 
  102. or two or three are normal and expected in Echomail conferences.  Should 
  103. a chain be 'broken' for any reason, any subscriber downstream may 
  104. reestablish the conference by connecting with any other subscribing 
  105. system that is upstream (closer to the Sponsor).  In doing this there 
  106. will be NO LOSS in terms of the contents of the conference once the 
  107. chain is reestablished.  This is because Echomail will automatically 
  108. determine the date of the last update to a subscriber's conference and 
  109. provide all messages subsequent to that update.
  110.  
  111. What is not obvious so far is that if you should try to reestablish a 
  112. broken chain by connecting to a system that was downstream rather than 
  113. upstream relative to yourself, then you will have established a closed 
  114. loop conference that will no longer be able to obtain updates from the 
  115. sponsor.  Great care must be taken to insure that all subscribers are 
  116. always connecting to either an upstream subscriber or to one that is 
  117. subscribing via a different chain than was previously in existence.  
  118. Said differently, you must NOT allow a circular path, closed loop, to exist.
  119.  
  120. Directories:  Echomail uses normal Netmail directories (\MAILOUT, 
  121. \MAILIN, and \MAILWORK).  What it does NOT use are Netmail message 
  122. bases!  All Echomail conferences are normal 'vanilla' message bases.  
  123. These message bases are usually set up to preclude private messages (via 
  124. placing a carrot (^) at the beginning of the message base pathname in 
  125. GTMDIR.BBS), but they NEVER are to include the Netmail symbol (~) as 
  126. part of their pathname.
  127.  
  128. There is only one semi-official Echomail file: ECHOMAIL.BBS.  This file 
  129. is not in any way necessary for the operation of Echomail.  It is merely 
  130. a list of the currently available National Echomail conferences, the 
  131. Net/Node of the Sponsor of these conferences, and the times of day that 
  132. the Sponsoring system is available to receive Echomail calls from 
  133. Subscribers.  This list is expected to be updated frequently and made 
  134. available from the National Echomail coordinator.
  135.  
  136. Additional concepts:
  137.  
  138. From the previous paragraph you may have surmised that Sponsors do not 
  139. have any obligation to make calls out to subscribers.  You would be 
  140. correct.  Subscribers MUST initiate the request to obtain an update for 
  141. each conference of interest.  This request may be done during any 
  142. Netmail session, regardless of which side placed the call, if it is a 
  143. local call or if it is via PC Pursuit.  (Long distance calls make the
  144. request via a PICKUP OVERRIDE.)
  145.  
  146. When you first join (subscribe to) a conference, you will not receive 
  147. the entire contents of the message base unless it is a relatively new 
  148. conference.  The default setup of Echomail provides that a Sponsoring 
  149. system will retain only the latest 14 days of updates for distribution.  
  150. A Sponsor may elect to save as many or as few days as they wish, but it 
  151. is unlikely that they will provide dozens of days of such updates to new 
  152. subscribers.
  153.  
  154. Updates are sent downstream via mailbags with the first letter 
  155. containing an 'E' rather than a 'B'.  Receipt of these mailbags causes 
  156. them to be placed into both your \MAILIN and \MAILOUT direcotries.  
  157. Those that are placed in your \MAILIN directory are subsequently 
  158. unbagged into your conference message base and those that are placed 
  159. into your \MAILOUT directory are made available to any subscriber who 
  160. should call your system and request the conference from you.
  161.  
  162. Any messages that are created on your system as part of the conference 
  163. message base will be bagged by the MBAGGER program and placed into 
  164. normal mailbags (beginning with the letter 'B') and sent upstream.  
  165. These bags flow upstream until they eventually reach the sponsoring 
  166. system at which time they will be unbagged into the sponsors conference 
  167. and, thus, become available to all subscribers of the conference with 
  168. the next day's Netmail session.  When the messages that originated on 
  169. your system finally are sent back to you in an 'E' mailbag, they are 
  170. ignored in order to prevent duplicate messages from appearing on your 
  171. system.  They will, however, continue to flow downstream and be placed 
  172. in each recipient subscriber's conference.  In this way, eventually all 
  173. conferences will contain the same messages as all other subscribers.  
  174. Note, however, that the sequence of messages in the messages bases will 
  175. have significant variances from system to system.  They will, however, 
  176. be reasonably associated within date sequence.
  177.  
  178. Echomail conferences are not available to a subscriber just because his 
  179. system is connected to another system via a Netmail session.  That is, 
  180. the transfer of messages (mail) usually has high priority over the 
  181. transfer of Echomail conferences since Echomail conferences can be 
  182. delayed by up to 14 days without meaningful loss.  Mail, on the other 
  183. hand, must be transferred as expeditiously as possible.  For this 
  184. reason, there is a facility within the code to allow Echomail conference 
  185. requests to be honored only between certain times of the day.  For 
  186. example, suppose that a sponsoring system runs Netmail code from 3:15 
  187. a.m. until 5:00 a.m. every day.  Further, suppose that Netmail message 
  188. transfers are scheduled to run from 4:00 a.m. until 5:00 a.m.  This 
  189. means that Echomail should be made available to subscribers from 3:15 
  190. until 4:00.  A new entry in the ROUTING.BBS file allows oyu to specify 
  191. the hours which your system will honor Echomail requests.  It is a 
  192. single line entry in that file which for this example would look like 
  193. this:   ECHOMAIL HOURS  3:15 4:00
  194.  
  195. Obviously, a subscriber MUST find out the Echomail hours provided by the 
  196. system he is calling to obtain the desired conference from.  Further, he 
  197. must call during those hours.
  198.  
  199. As an aside, even if Netmail message traffic is scheduled from 4:00 
  200. until 5:00 in the morning, in the situation described above, if there is 
  201. any mail to be exchanged between the subscriber and the system he is 
  202. connecting to, that mail will be transferred between them during the 
  203. Echomail call.  In other words, mail transfers will always be made if it 
  204. is possible to do so, even if it is not during the scheduled Netmail 
  205. 'hour'.
  206.  
  207. Since Echomail is an extension of Netmail which uses the same code, then 
  208. how is it that you can place Echomail calls outside of Netmail time 
  209. without making calls to systems that do not have echomail conferences?  
  210. That is, if you have a mailbag waiting to be sent to someone, unless you 
  211. tell Netmail otherwise, it will try to place a call to effect delivery 
  212. of that mail.  Thus, you will need to create a separate ROUTING.BBS file 
  213. to be used during Echomail times from that which is used during normal 
  214. Netmail.  In the Echomail ROUTING.BBS file you are to set ALL NODES that 
  215. you are not calling for ECHOMAIL purposes into your INBOUND NODES list.
  216.  
  217. In your ROUTING INSTRUCTIONS section of the routing files you must place 
  218. ACCEPT statements for each conference you are interested in.  Say, for 
  219. example, that you are interested in subscribing to National Conferences 
  220. E00/003 and E00/006.  Suppose that you determine that a local node on 
  221. your Net carries both conferences so you need only to call that one 
  222. system in order to subscribe to both.  Supposing that that local system 
  223. is Net/Node 006/000, you would place the following two ACCEPT statements 
  224. into your ROUTING INSTRUCTIONS section:
  225.    ACCEPT  E00/003-003 -> 006/000
  226.    ACCEPT  E00/006-006 -> 006/000
  227.  
  228. In this way, Netmail knows that you are subscribing to these conferences 
  229. (and that you are NOT the sponsor), and that you wish to obtain the 
  230. conferences via calls out to 006/000.  (If you were a conference Sponsor 
  231. you would leave off the re-direction information for your conference).
  232.  
  233. There is only one more thing to do in the routing file.  You must 
  234. include an OUTBOUND NODES entry for each conference you are subscribing 
  235. to.  You would need to have the following two entries in this case:
  236.    E00/003
  237.    E00/006
  238.  
  239. Note, it is not enough that you are connected to 006/000 based on one or 
  240. the other of these OUTBOUND NODES entries.  Conference requests will be 
  241. issued ONLY for those that are specifed with an entry.  That is, having 
  242. E00/003 as an OUTBOUND NODE will cause your system to call and connect 
  243. with 006/000, but it will NOT cause a request for E00/006 to be issued 
  244. unless there is also such an OUTBOUND NODE specified.
  245.  
  246. One more new section is now of importance to you.  It is called the 
  247. MESSAGE DISTRIBUTION section.  Here is where you tell the MDIST program 
  248. what to do with messages that are unbagged by it.  Unless you specify, 
  249. all messages are placed into the first Netmail message base listed in 
  250. GTMDIR.BBS.  Echomail must be sent to the appropriate message bases 
  251. instead of to the Netmail message base.  Your entries in this section 
  252. would look like this:
  253.  
  254.     E00/003-003 -> C:\ECHO\FINANCE
  255.     E00/006-006 -> C:\ECHO\SYSOP
  256.  
  257. where the information to the right of the re-direction symbol is the 
  258. pathname of the conference message base.  Thus, all mailbags that are 
  259. marked as belonging to E00/003 will be unbagged into messages that are 
  260. placed into the C:\ECHO\FINANCE message base.  Recall that these are 
  261. just normal message bases, NOT Netmail message bases.
  262.  
  263. That's about it.  What's next is to determine how to setup so that you 
  264. can exchange routing files and support both Echomail and Netmail session 
  265. on one system.  This is done, as you must suspect, via scheduled events 
  266. and batch files.
  267.  
  268. In the example I have been creating above, you might have the following 
  269. two entries in your SCHEDULE.BBS file to start events:
  270.  
  271. 03:15-03:59 ECHOMAIL
  272. 04:00-04:45 NETMAIL
  273.  
  274. Then, you might create two batch files that look like this:
  275.  
  276. ECHOMAIL.BAT:
  277.  
  278.    COPY ROUTING.ECO ROUTING.BBS
  279.    MBAGGER
  280.    MDRIV028 xxxx-xxxx 3:15 04:00
  281.  
  282. NETMAIL.BAT:
  283.  
  284.    COPY ROUTING.NET ROUTING.BBS
  285.    MDRIV028 xxxx-xxxx 4:00 5:00
  286.    MDIST
  287.  
  288. ROUTING.ECO containing the routing file image that has all non-Echomail 
  289. Net/Nodes specified as INBOUND NODES and ROUTING.NET being the routing 
  290. file used for normal Netmail.
  291.  
  292. These two events could just as easily, of course, have been only a 
  293. single event and the batch files would be concatenated into a single 
  294. file.  Either way is fine, but there are a couple of things you must NOT 
  295. DO.
  296.  
  297. 1) Do not allow MBAGGER to run more than once a day (unless you use the 
  298. /N option for the second and subsequent times it is run).
  299.  
  300. 2) Do not attempt to run MBAGGER or MDIST programs unless the routing 
  301. file contains the appropriate Echomail information.  If you do not have 
  302. the MESSAGE DISTRIBUTION section properly setup, then MDIST will not 
  303. operate correctly, and the ROUTING INSTRUCTIONS must also be properly 
  304. setup for the Echomail conferences.  This argues that whether running 
  305. Echomail or just Netmail, the ROUTING INSTRUCTIONS and MESSAGE 
  306. DISTRIBUTION sections should be identical.  That is good advice.  Take 
  307. it from someone who learned the hard way.
  308.  
  309. One more thing you should know about Echomail is that it does not 
  310. support file transfers.  It would make no sense, whatever, to allow 
  311. either File Attach or File Request commands in an Echomail environment.  
  312. Though you can create a message that appears to include the .FR or .FA 
  313. commands, they will be ignored by the Echomail code.
  314.  
  315. There is a lot more to know about Echomail, but you now have enough to 
  316. get started.  Enjoy the feature and while you are at it, please accept 
  317. my invitation to join the National Echomail Finance conference.  As the 
  318. Sponsor of this conference, I welcome any comments and observations you 
  319. might wish to offer, and invite you to post your thoughts relative to 
  320. economic or financial issues in the conference for all who subscribe to 
  321. benefit from.
  322.  
  323. James Davis
  324. National Netmail Coordinator
  325. 001/000
  326. Finance Conference Sponsor
  327. E00/003
  328.  
  329. (713) 589-0307 - James Davis' Retreat - Houston Texas
  330.